package entity.h_manage;

import java.util.Date;

public class h_commodity {
    private Integer cid;

    private String cname;

    private Float cprice;

    private Float cspecialp;

    private Integer crepertory;

    private String cstate;

    private Date cdate;

    
    
    /**
     *
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "h_commodity [cid=" + cid + ", cname=" + cname + ", cprice=" + cprice + ", cspecialp=" + cspecialp
                + ", crepertory=" + crepertory + ", cstate=" + cstate + ", cdate=" + cdate + "]";
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname == null ? null : cname.trim();
    }

    public Float getCprice() {
        return cprice;
    }

    public void setCprice(Float cprice) {
        this.cprice = cprice;
    }

    public Float getCspecialp() {
        return cspecialp;
    }

    public void setCspecialp(Float cspecialp) {
        this.cspecialp = cspecialp;
    }

    public Integer getCrepertory() {
        return crepertory;
    }

    public void setCrepertory(Integer crepertory) {
        this.crepertory = crepertory;
    }

    public String getCstate() {
        return cstate;
    }

    public void setCstate(String cstate) {
        this.cstate = cstate == null ? null : cstate.trim();
    }

    public Date getCdate() {
        return cdate;
    }

    public void setCdate(Date cdate) {
        this.cdate = cdate;
    }
}